package com.biyabi.pojo;

import com.biyabi.entity.Supplier;

import java.util.List;

public class SuppliersData {
    private Integer total;
    private List<Supplier> rows;

    @Override
    public String toString() {
        return "SuppliersData{" +
                "total=" + total +
                ", rows=" + rows +
                '}';
    }

    public Integer getTotal() {
        return total;
    }

    public void setTotal(Integer total) {
        this.total = total;
    }

    public List<Supplier> getRows() {
        return rows;
    }

    public void setRows(List<Supplier> rows) {
        this.rows = rows;
    }

    public SuppliersData(Integer total, List<Supplier> rows) {

        this.total = total;
        this.rows = rows;
    }

    public SuppliersData() {

    }
}
